package com.example.aop.main;

import com.example.aop.tester.MyArgs;
import com.example.aop.tester.MyReturn;
import org.springframework.beans.BeanUtils;

public class MyProxyTarget implements MyProxyTargetIntf {

    public MyReturn myMethod(MyArgs myArgs){
        MyReturn myReturn = new MyReturn();
        BeanUtils.copyProperties(myArgs, myReturn);
        return myReturn;
    }

    @Override
    public MyReturn myIntfMethod(MyArgs myArgs) {
        return null;
    }
}
